﻿<controls:ChildWindow x:Class="Earthwatchers.UI.GUI.Controls.PopupMessageWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" Width="600"
        Style="{StaticResource GPDefaultChildWindow}" >

    <Grid x:Name="MainGrid" Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="40" />
            <RowDefinition Height="Auto" MaxHeight="500" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <TextBlock x:Name="TitleTextBox" Grid.Row="0" Grid.ColumnSpan="2" Foreground="#FF9db80e"
                    FontWeight="SemiBold" FontSize="20" Margin="3,0,0,0" />

        <TextBlock x:Name="Message" TextWrapping="Wrap" Grid.Row="1"
                       Foreground="Black" FontSize="13" />

        <Image x:Name="Image1" ImageFailed="Image1_ImageFailed" Margin="10" Grid.Column="1" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>